Skip to content

Check for premium before deleting, in case premium access is stale - #86

Merged
micahflee merged 4 commits into
mainfrom
scheduled-deletion-premium
Jul 20, 2026
Merged

Check for premium before deleting, in case premium access is stale#86
micahflee merged 4 commits into
mainfrom
scheduled-deletion-premium

Conversation

@micahflee

Copy link
Copy Markdown
Member

Fixes #84

never stored locally and thus never deletable, leaving conversations that
couldn't be cleaned up.

- chat-indexer: save all real messages (isMessageView) instead of filtering
  on text; skip only placeholders
- getConversationMessageCount: count only real messageViews
- delete-messages: run empty-conversation cleanup from the DB even with no
  messages to delete; schedule the job whenever deleteChats is on
- FinishedModal: report conversations left
- update tests/fixtures accordingly
@micahflee micahflee changed the title Scheduled deletion premium Check for premium before deleting, in case premium access is stale Jul 20, 2026
@micahflee
micahflee merged commit 8054f87 into main Jul 20, 2026
1 check passed
@micahflee
micahflee deleted the scheduled-deletion-premium branch July 20, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scheduled deletion works even if premium plan expires

1 participant